projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c6377
)
Ignore packets that aren't A800's.
author
robertl
<robertl>
Thu, 27 Apr 2006 02:56:24 +0000
(
02:56
+0000)
committer
robertl
<robertl>
Thu, 27 Apr 2006 02:56:24 +0000
(
02:56
+0000)
jeeps/gpsapp.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsapp.c
b/jeeps/gpsapp.c
index 967c95b835f22d96d4b386cada8972793eb32d68..dbe5dc422a1c45c1ff5e30b227b74e57f1f12dfd 100644
(file)
--- a/
jeeps/gpsapp.c
+++ b/
jeeps/gpsapp.c
@@
-5918,6
+5918,10
@@
int32 GPS_A800_Get(gpsdevh **fd, GPS_PPvt_Data *packet)
if(!GPS_Send_Ack(*fd, &tra, &rec))
return gps_errno;
+
+ if (rec->type != LINK_ID[gps_link_type].Pid_Pvt_Data) {
+ return 0;
+ }
switch(gps_pvt_type)
{